Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop-govuk and rubocop-rspec #3310

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Bump rubocop-govuk and rubocop-rspec #3310

merged 2 commits into from
Nov 25, 2024

Conversation

sarahcrack
Copy link
Contributor

@sarahcrack sarahcrack commented Nov 18, 2024

Trello card

https://trello.com/c/9khhgFim/6955-dependency-updates-on-get-school-experience-rubocop-shakapacker-and-babel

Context

The rubocop-govuk update involved breaking changes related to other dependencies which meant tests were failing. The rubocop-govuk bump was originally part of this dependabot update.

Changes proposed in this pull request

  • bumped rubocop-govuk to 5.0.2.
  • installed gem 'rubocop-capybara', '~> 2.21', gem 'rubocop-factory_bot', '~> 2.26', gem 'rubocop-rspec', '~> 3.2'
  • updated .rubocop.yml file.
  • created a .rubocop_todo.yml list for linting errors; the past offences will now be ignored by Rubocop, therefore all tests are currently passing. Question as to how/when to address these errors in future (due to the nature/age of GSE, there are over 6,000 offences at present).

Guidance to review

  • we could not run rubocop autocorrect as this caused issues with rspec and cucumber tests.

@github-actions github-actions bot added ruby Pull requests that update Ruby code Test Config labels Nov 18, 2024
Copy link

Copy link
Collaborator

@martyn-w martyn-w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@sarahcrack sarahcrack merged commit 6736bc9 into master Nov 25, 2024
16 checks passed
@sarahcrack sarahcrack deleted the bump-rubocop-rspec branch November 25, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Config Review ruby Pull requests that update Ruby code Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants